package com.sh.polymedicine.happysale.net.entity;

/**
 * Created by zhouyucheng on 2017/9/19.
 */

public class UserToken extends BaseBean  {

    private int userId;// 用户ID
    private  String code;
    private String accessToken;//接口访问Token,有效时间1小时
    private String reflashToken;//置换accessToken的token，有效时间30天
    private String signKey;//用户签名的密码
    private String userSign;//用户签名结果
    private  String tokenId;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getReflashToken() {
        return reflashToken;
    }

    public void setReflashToken(String reflashToken) {
        this.reflashToken = reflashToken;
    }

    public String getSignKey() {
        return signKey;
    }

    public void setSignKey(String signKey) {
        this.signKey = signKey;
    }

    public String getUserSign() {
        return userSign;
    }

    public void setUserSign(String userSign) {
        this.userSign = userSign;
    }

    public String getTokenId() {
        return tokenId;
    }

    public void setTokenId(String tokenId) {
        this.tokenId = tokenId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "UserToken{" +
                "userId=" + userId +
                ", code='" + code + '\'' +
                ", accessToken='" + accessToken + '\'' +
                ", reflashToken='" + reflashToken + '\'' +
                ", signKey='" + signKey + '\'' +
                ", userSign='" + userSign + '\'' +
                ", tokenId='" + tokenId + '\'' +
                '}';
    }


}
